<?php
	require_once ('./controller/placeCategoryController.php');
	$result = getPlaceCategoryController();
	if(is_array($result)){
		echo "<div class='title titlemid'>PHÂN MỤC ẨM THỰC</div>";
		echo "<div class='sidebar-offcanvas foodcategories' id='sidebar' role='navigation'>";
		echo "<div class='list-group'>";
		foreach($result as $key => $value) {
				echo "<a href='#' class='list-group-item'>".$value->category_place_name."</a>";
		}
		echo "</div>";
		echo "</div>";
	}
?>